home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
04
/
4
/
DISK0442.ZIP
/
SPAWN.BAT
< prev
next >
Wrap
DOS Batch File
|
1986-04-10
|
826b
|
30 lines
Echo off
if /%1 == / goto :bad
if %1 == ? goto :help
if not exist %1.war goto :bad
rename %1.war input.war
pwarn
rename output.dia %1.dia
rename output.ech %1.ech
rename output.src %1.src
rename output.pun %1.pun
rename input.war %1.war
goto :out
:bad
Echo *** Error *** Bad File Specifier: %1
Echo
:help
Echo **************************************
Echo * Usage: *
Echo * SPAWN fn *
Echo * *
Echo * where *
Echo * fn.WAR is the input file *
Echo * fn.DIA is the output diagram *
Echo * fn.PUN is the source code output *
Echo * fn.ECH is the echo & diagnostics *
Echo * fn.SRC is the reformatted source *
Echo **************************************
:out